﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;

namespace ChouteZemUp.Engine
{
    public class ControllerGameObject : MovableGameObject
    {
		protected IInput mInput;

        public ControllerGameObject(Vector2 pDirection, float pSpeed, string pSpritePath, Vector2 pPositionInitiale, ContentManager pContent, Game pGame)
            : base(pDirection, pSpeed, pSpritePath, pPositionInitiale, pContent, pGame)
        {
            
        }

        public override void Update(GameTime pTime)
        {
            if (mInput != null)
            {
                mInput.Update(this);
            }

            base.Update(pTime);
        }
    }
}
